<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>新增枚举</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
</head>
<body>
<form class="layui-form">
    <div class="layui-form-item">
        <label class="layui-form-label">代码<span class="layui-badge-dot"></span></label>
        <div class="layui-input-inline">
            <input type="text" name="code" id="code" required  lay-verify="required"
                    autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">key</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">值<span class="layui-badge-dot"></span></label>
        <div class="layui-input-inline">
            <input type="text" name="value" id="value" required lay-verify="required"
                   autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">value</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所属App<span class="layui-badge-dot"></span></label>
        <div class="layui-input-block">
            <input type="text" name="app" id="app" required  lay-verify="required"
                   autocomplete="off" class="layui-input" value="stu-app">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">类型<span class="layui-badge-dot"></span></label>
        <div class="layui-input-block">
            <select name="type" id="type" lay-verify="required">
                <option value="" selected></option>
                <option value="gender">性别</option>
                <option value="degree">学历</option>
                <option value="accountEnable">是否冻结</option>
                <option value="dataEnable">是否可用</option>
                <option value="signStatus">签到状态</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">启用/禁用</label>
        <div class="layui-input-block">
            <input type="radio" name="dataEnable" value="yes" title="启用" checked>
            <input type="radio" name="dataEnable" value="no" title="禁用">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序号</label>
        <div class="layui-input-inline">
            <input type="number" name="sequence" id="sequence" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">sequence</div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <!--lay-filter 自定义名字-->
            <button class="layui-btn" lay-submit lay-filter="commit">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

<!--js引用-->
<script src="/layui/layui.js" charset="utf-8"></script>
<script src="/js/common.js"></script>
<script src="/js/back/code/codeAdd.js" charset="utf-8"></script>

</body>
</html>